﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooGameplayLibertyStreetEventStreetEventManagerWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager);
			Utils.BeginObjectRegister(type, L, translator, 0, 26, 5, 4);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "LoadStreetEvent", _m_LoadStreetEvent);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnLoadingComplete", _m_OnLoadingComplete);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "EnterStreetEvent", _m_EnterStreetEvent);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ExitStreetEvent", _m_ExitStreetEvent);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "PauseStreetEvent", _m_PauseStreetEvent);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResumeStreetEvent", _m_ResumeStreetEvent);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAddMonster", _m_OnAddMonster);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMonsterByUniqueId", _m_GetMonsterByUniqueId);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMonster", _m_GetMonster);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetStreetMonsterCount", _m_GetStreetMonsterCount);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBossEntity", _m_GetBossEntity);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CachePlayer", _m_CachePlayer);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RevertPlayer", _m_RevertPlayer);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnCountDownEnd", _m_OnCountDownEnd);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnInteractiveAction", _m_OnInteractiveAction);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerDead", _m_OnPlayerDead);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnKillMonster", _m_OnKillMonster);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "LoadBpStreetEventComplete", _m_LoadBpStreetEventComplete);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddTaskCounter", _m_AddTaskCounter);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTaskCounter", _m_GetTaskCounter);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompleteEvent", _m_CompleteEvent);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SwitchAirWall", _m_SwitchAirWall);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SwitchRacingFender", _m_SwitchRacingFender);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateHittableTarget", _m_CreateHittableTarget);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHoldCupUniqueId", _m_GetHoldCupUniqueId);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Dispose", _m_Dispose);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "monsterId2InfoMap", _g_get_monsterId2InfoMap);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "currentEvent", _g_get_currentEvent);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "streetTaskCounters", _g_get_streetTaskCounters);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "playerCacheData", _g_get_playerCacheData);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "vehicleRacingManager", _g_get_vehicleRacingManager);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "currentEvent", _s_set_currentEvent);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "streetTaskCounters", _s_set_streetTaskCounters);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "playerCacheData", _s_set_playerCacheData);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "vehicleRacingManager", _s_set_vehicleRacingManager);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 2, 1, 1);
			
			
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "STREET_EVENT_PART_PATH", Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager.STREET_EVENT_PART_PATH);
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "OnKillMonsterAction", _g_get_OnKillMonsterAction);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "OnKillMonsterAction", _s_set_OnKillMonsterAction);
            
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_LoadStreetEvent(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<System.Action<int>>(L, 3)) 
                {
                    int _streetEventId = LuaAPI.xlua_tointeger(L, 2);
                    System.Action<int> _callback = translator.GetDelegate<System.Action<int>>(L, 3);
                    
                    gen_to_be_invoked.LoadStreetEvent( _streetEventId, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    int _streetEventId = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.LoadStreetEvent( _streetEventId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager.LoadStreetEvent!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnLoadingComplete(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.OnLoadingComplete(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_EnterStreetEvent(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.EnterStreetEvent(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ExitStreetEvent(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.ExitStreetEvent(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PauseStreetEvent(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.PauseStreetEvent(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResumeStreetEvent(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.ResumeStreetEvent(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnAddMonster(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _mId = LuaAPI.xlua_tointeger(L, 2);
                    int _streetNpcId = LuaAPI.xlua_tointeger(L, 3);
                    string _counterName = LuaAPI.lua_tostring(L, 4);
                    Yoozoo.Gameplay.Liberty.AI.SideType _sideType;translator.Get(L, 5, out _sideType);
                    
                    gen_to_be_invoked.OnAddMonster( _mId, _streetNpcId, _counterName, _sideType );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetMonsterByUniqueId(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _uniqueId = LuaAPI.xlua_tointeger(L, 2);
                    
                        var gen_ret = gen_to_be_invoked.GetMonsterByUniqueId( _uniqueId );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetMonster(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _streetNpcId = LuaAPI.xlua_tointeger(L, 2);
                    
                        var gen_ret = gen_to_be_invoked.GetMonster( _streetNpcId );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetStreetMonsterCount(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetStreetMonsterCount(  );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetBossEntity(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetBossEntity(  );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CachePlayer(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.CachePlayer(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RevertPlayer(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.RevertPlayer(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnCountDownEnd(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.OnCountDownEnd(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnInteractiveAction(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _actionId = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.OnInteractiveAction( _actionId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnPlayerDead(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.OnPlayerDead(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnKillMonster(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _uniqueId = LuaAPI.xlua_tointeger(L, 2);
                    int _killerUniqueId = LuaAPI.xlua_tointeger(L, 3);
                    int _weaponId = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.OnKillMonster( _uniqueId, _killerUniqueId, _weaponId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_LoadBpStreetEventComplete(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.LoadBpStreetEventComplete(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AddTaskCounter(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<Yoozoo.Gameplay.Liberty.StreetEvent.TaskCounterMode>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    string _cName = LuaAPI.lua_tostring(L, 2);
                    int _threshold = LuaAPI.xlua_tointeger(L, 3);
                    Yoozoo.Gameplay.Liberty.StreetEvent.TaskCounterMode _counterMode;translator.Get(L, 4, out _counterMode);
                    int _initCount = LuaAPI.xlua_tointeger(L, 5);
                    
                    gen_to_be_invoked.AddTaskCounter( _cName, _threshold, _counterMode, _initCount );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<Yoozoo.Gameplay.Liberty.StreetEvent.TaskCounterMode>(L, 4)) 
                {
                    string _cName = LuaAPI.lua_tostring(L, 2);
                    int _threshold = LuaAPI.xlua_tointeger(L, 3);
                    Yoozoo.Gameplay.Liberty.StreetEvent.TaskCounterMode _counterMode;translator.Get(L, 4, out _counterMode);
                    
                    gen_to_be_invoked.AddTaskCounter( _cName, _threshold, _counterMode );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager.AddTaskCounter!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetTaskCounter(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    string _cName = LuaAPI.lua_tostring(L, 2);
                    
                        var gen_ret = gen_to_be_invoked.GetTaskCounter( _cName );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CompleteEvent(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.CompleteEvent(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SwitchAirWall(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    bool _enable = LuaAPI.lua_toboolean(L, 2);
                    string _wallName = LuaAPI.lua_tostring(L, 3);
                    
                    gen_to_be_invoked.SwitchAirWall( _enable, _wallName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SwitchRacingFender(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    bool _enable = LuaAPI.lua_toboolean(L, 2);
                    
                    gen_to_be_invoked.SwitchRacingFender( _enable );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateHittableTarget(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _lineId = LuaAPI.xlua_tointeger(L, 2);
                    int _spawnPoint = LuaAPI.xlua_tointeger(L, 3);
                    int _itype = LuaAPI.xlua_tointeger(L, 4);
                    string _resPath = LuaAPI.lua_tostring(L, 5);
                    float _lifeTime = (float)LuaAPI.lua_tonumber(L, 6);
                    float _speed = (float)LuaAPI.lua_tonumber(L, 7);
                    int _score = LuaAPI.xlua_tointeger(L, 8);
                    int _head_score = LuaAPI.xlua_tointeger(L, 9);
                    int _elite_target = LuaAPI.xlua_tointeger(L, 10);
                    
                    gen_to_be_invoked.CreateHittableTarget( _lineId, _spawnPoint, _itype, _resPath, _lifeTime, _speed, _score, _head_score, _elite_target );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetHoldCupUniqueId(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetHoldCupUniqueId(  );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Dispose(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.Dispose(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_monsterId2InfoMap(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.monsterId2InfoMap);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_OnKillMonsterAction(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager.OnKillMonsterAction);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_currentEvent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.currentEvent);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_streetTaskCounters(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.streetTaskCounters);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_playerCacheData(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.playerCacheData);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_vehicleRacingManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.vehicleRacingManager);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_OnKillMonsterAction(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager.OnKillMonsterAction = translator.GetDelegate<System.Action<int>>(L, 1);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_currentEvent(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.currentEvent = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventBase)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventBase));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_streetTaskCounters(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.streetTaskCounters = (System.Collections.Generic.List<Yoozoo.Gameplay.Liberty.StreetEvent.StreetTaskCounter>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<Yoozoo.Gameplay.Liberty.StreetEvent.StreetTaskCounter>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_playerCacheData(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.playerCacheData = (Yoozoo.Gameplay.Liberty.StreetEvent.PlayerCacheData)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.StreetEvent.PlayerCacheData));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_vehicleRacingManager(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.StreetEvent.StreetEventManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.vehicleRacingManager = (Yoozoo.Gameplay.Liberty.StreetEvent.VehicleRacingManager)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.StreetEvent.VehicleRacingManager));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
